package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSeckillGoods;
import com.dongdongshop.pojo.TbUser;

import java.util.List;

public interface SeckillService {
    void prepareHot();

    List<TbSeckillGoods> listSeckill();

    TbSeckillGoods selectSeckillById(Long id);

    void createOrder(Long goodsId, TbUser user) throws Exception;
}
